<%@ include file="/WEB-INF/jspf/directive/taglib.jspf"%>
<html>

<c:set var="title">
	<c:out value="Registration" />
</c:set>
<%@ include file="/WEB-INF/jspf/head.jspf"%>

<body>

	<div>
		<form action="controller" method="post" class="fc fs">
			<p class="lead heading">Please register</p>
			<input type="hidden" name="command" value="register"> <input
				type="text" name="login" placeholder=<c:out value="Login"></c:out>
				class="input-block-level"> <input type="password"
				name="password" placeholder=<c:out value="Password"></c:out>
				class="input-block-level"> <input type="password"
				name="passwordRepeat"
				placeholder='<c:out value="Repeat password"></c:out>'
				class="input-block-level">
			
			<label>Choose city</label>
			<select class="input-block-level" id="city_select" name="city">
				<c:forEach items="${cities}" var="city">
						<option>
							<c:out value="${city.name}"></c:out>
						</option>
				</c:forEach>
			</select>
			<input type="submit" value="Register"
				class="btn btn-large btn-block btn-primary b-mrg"> <a
				href="login.jsp" class="btn btn-large btn-block b-mrg">Back</a>
		</form>
	</div>

</body>
</html>